package lapsnake.model.slice;

import java.beans.PropertyVetoException;

import lapsnake.model.LapAbstractSlice;
import lapsnake.model.PyAST;
import lapsnake.model.bounceback.StringNode;
import lapsnake.model.data.ChildField;

import org.python.antlr.ast.Ellipsis;

public class LapEllipsis extends LapAbstractSlice
{
	public LapEllipsis(PyAST pyAST, ChildField<? super LapEllipsis> parentField, Ellipsis node) throws PropertyVetoException {
		super(pyAST, parentField, node);
		buildTextNodes(node);
	}
	public LapEllipsis(PyAST pyAST, ChildField<? super LapEllipsis> parentField) throws PropertyVetoException {
		super(pyAST, parentField, null);
		setTextNodes(new StringNode("..."));
	}
}